<%-- 
    Document   : balanceaccountcontent
    Created on : Oct 5, 2011, 5:08:39 PM
    Author     : Administrator
--%>

<%@page import="java.text.DecimalFormat"%>
<%@page import="hibernate.pojo.Khachhang"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<div class="BoxVien">
<%
    try
    {
        DecimalFormat df = new DecimalFormat("###,###,###");
        Khachhang khachhang = (Khachhang)session.getAttribute("KhachHang");
        if(khachhang!=null)
        {
%>
            <div class="BoxBot">
            <h3 class="TaiKhoan">
                Số dư tài khoản<br />
                <span class="Balance"><span class="JsBalance"><%=df.format(khachhang.getSoDuTaiKhoan())%></span> <strong class="VND">đ</strong></span>
            </h3>
                <ul class="Pay NapThe">                
                    <li><a class="atm" href="atmcardcontroller?action=atmrecharge&active=4" title="ATM Internet Banking" target="_blank">Nạp thẻ ATM <span style="color:#FF0000;font-weight:normal;font-size:11px;"> (Giảm 5%)</span></a></li>
                    <li><a class="napthe" href="zingcardcontroller?action=zingcardrecharge&active=4" title="Nạp thẻ Zingxu" target="_blank">Nạp thẻ Zing</a></li>
                </ul>
            </div>
<%
        }
        else
        {
%>
            <div class="BoxBot">
                <ul class="Pay NapThe">                
                    <li><a class="atm" href="atmcardcontroller?action=atmrecharge&active=4" title="ATM Internet Banking" target="_blank">Nạp thẻ ATM <span style="color:#FF0000;font-weight:normal;font-size:11px;"> (Giảm 5%)</span></a></li>
                    <li><a class="napthe" href="zingcardcontroller?action=zingcardrecharge&active=4" title="Nạp thẻ Zingxu" target="_blank">Nạp thẻ Zing</a></li>
                </ul>
            </div>
<%
        }
    }
    catch(Exception ex){
        out.print(ex);
    }
%>
</div>
